#include <dePortal_priv.hpp>
Inheritance diagram for dePortal:


Public Member Functions | |
| dePortal () | |
| dePortal (deVec3d Vertices[], int Num) | |
| int | Release () |
| deletes the object | |
| IdeVertexBuffer * | GetVBuffer () |
| Retrieve a pointer to the portal's vertex buffer. | |
| deBoolean | IsTPortal () const |
| Tell whether or not the portal is a T-portal (has normal and transformation). | |
| void | SetTPortal (deBoolean TPortal) |
| Disable any T-portal behavior this portal might have. | |
| deBoolean | ClipFrustum (const deTransformInfo &CamPos, const IdePlaneFrustum *in, IdePlaneFrustum *out) |
| Clip the view frustum of a camera to the screen projection of the portal. | |
| deBoolean | IntersectsFrustum (const deTransformInfo &CamPos, const IdePlaneFrustum *f) const |
| Test whether the input view frustum potentially contains any part of the portal. | |
| void | SetVertices (deVec3d Vertices[], long Num) |
| deVec3d * | GetVertices (long &Num) const |
| deWorldID | GetLinkWorldID () const |
| Retrieve the world ID of the Scene Room on the "other side" of the portal. | |
| deObjectID | GetLinkObjectID () const |
| Retrieve the object ID of the Scene Room on the "other side" of the portal. | |
| void | SetLinkWorldID (deWorldID WorldID) |
| Set the world ID of the Scene Room on the "other side" of the portal. | |
| void | SetLinkObjectID (deObjectID ObjectID) |
| Set the object ID of the Scene Room on the "other side" of the portal. | |
| deBoolean | LinkTo (IdeSceneRoom *SceneRoom) |
| Feed in a Scene Room to have the world and object ID's matched up for you. | |
| deBoolean | IsPlanar () |
| void | SetNormal (const deVec3d &v) |
| Set the "face" normal of the portal. | |
| void | GetNormal (deVec3d &v) const |
| Retrieve the "face" normal of the portal. | |
| void | SetPosition (const deTransformInfo &M) |
| Set the world transformation of the portal's position. | |
| void | GetPosition (deTransformInfo &M) const |
| Retrieve the world transformation of the portal's position. | |
| void | SetTransform (const deTransformInfo &M) |
| void | GetTransform (deTransformInfo &M) const |
| Retrieve the portal's transformation matrix. | |
| void | ConcatTransform (deTransformInfo &M) |
Protected Member Functions | |
| ~dePortal () | |
Private Attributes | |
| deWorldID | m_LinkWorldID |
| deObjectID | m_LinkObjectID |
| deTransform | m_Transform |
| deTransform | m_Position |
| deTArray< deVec3d > | m_Vertices |
| IdeVertexBuffer * | m_VBuffer |
| deBoolean | m_VertsChanged |
| deBoolean | m_DoesTransformation |
| deBoolean | m_IsPlanar |
| deVec3d | m_Normal |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
Clip the view frustum of a camera to the screen projection of the portal.
Implements IdePortal. |
|
|
Concatenate the portal's world transformation with another transform
Implements IdePortal. |
|
|
Retrieve the object ID of the Scene Room on the "other side" of the portal.
Implements IdePortal. |
|
|
Retrieve the world ID of the Scene Room on the "other side" of the portal.
Implements IdePortal. |
|
|
Retrieve the "face" normal of the portal.
Implements IdePortal. |
|
|
Retrieve the world transformation of the portal's position.
Implements IdePortal. |
|
|
Retrieve the portal's transformation matrix.
Implements IdePortal. |
|
|
Retrieve a pointer to the portal's vertex buffer.
Implements IdePortal. |
|
|
Retrieve the internally held vertices
Implements IdePortal. |
|
||||||||||||
|
Test whether the input view frustum potentially contains any part of the portal.
Implements IdePortal. |
|
|
Implements IdePortal. |
|
|
Tell whether or not the portal is a T-portal (has normal and transformation).
Implements IdePortal. |
|
|
Feed in a Scene Room to have the world and object ID's matched up for you.
Implements IdePortal. |
|
|
deletes the object
Implements IdePortal. |
|
|
Set the object ID of the Scene Room on the "other side" of the portal.
Implements IdePortal. |
|
|
Set the world ID of the Scene Room on the "other side" of the portal.
Implements IdePortal. |
|
|
Set the "face" normal of the portal.
Implements IdePortal. |
|
|
Set the world transformation of the portal's position.
Implements IdePortal. |
|
|
Disable any T-portal behavior this portal might have.
Implements IdePortal. |
|
|
Set the portal's transformation matrix. This matrix is used to get a concatenated world matrix for objects on the "other side" of the portal Implements IdePortal. |
|
||||||||||||
|
Set the vertices of the portal. For a T-portal, these vertices must be planar
Implements IdePortal. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3-rc3